package com.ddz.fightthelandlord;

import com.ddz.implementation.Entity;
import com.ddz.implementation.Graphics;

public class Player extends Entity {
	private int mScore, mPlayerNum;
	private boolean mIsLandlord;

	public Player() {
		mScore = 0;
		mPlayerNum = -1;
	}

	// Scan the hand for any usable cards
	private void scanHand() {

	}

	@Override
	public void init() {

	}

	@Override
	public void onUpdate(float deltaTime) {
		scanHand();
	}

	@Override
	public void onPaint(float deltaTime, Graphics graphics) {
		// TODO Auto-generated method stub

	}

	@Override
	public void release() {

	}

	public boolean isLandlord() {
		return mIsLandlord;
	}

	// //////////////////////////
	// MUTATORS
	// //////////////////////////
	public void setPlayerNum(int _playerNum) {
		mPlayerNum = _playerNum;
	}

	public void increaseScore(int _score) {
		mScore += _score;
	}

	// //////////////////////////
	// ACCESSORS
	// //////////////////////////
	public int getPlayerNum() {
		return mPlayerNum;
	}

	public int getScore() {
		return mScore;
	}

}
